<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	response.setCharacterEncoding("UTF-8");
	response.setContentType("text/xml");
	response.setHeader("Cache-Control","no-cache"); 
	response.setHeader("Pragma","no-cache"); 
%>
<menu>
	<s:if test="objctForm.state==0 || objctForm.state==-1">
		<item id="a" text="编辑"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>loan/loanAction!gotoEdit.action?id=<s:property value='id' />","500","300");'/>
		<item id="a" text="删除"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>loan/loanAction!gotoDel.action?id=<s:property value='id' />","320","150");'/>
	</s:if>
	<s:else>
		<item id="a" text="编辑"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>loan/loanAction!gotoEdit.action?id=<s:property value='id' />","500","300");' disable="false"/>
		<item id="a" text="删除"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>loan/loanAction!gotoDel.action?id=<s:property value='id' />","320","150");' disable="false"/>
	</s:else>
	<s:if test="objctForm.state==0">
		<item id="a" text="提交审批"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>loan/loanAction!gotoSubmitCheck.action?id=<s:property value='id' />&amp;proKey=loan","320","150");'/>
	</s:if>
	<s:else>
		<item id="a" text="提交审批"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>loan/loanAction!gotoSubmitCheck.action?id=<s:property value='id' />&amp;proKey=loan","320","150");' disable="false"/>
	</s:else>
	<s:if test="objctForm.state==-1">
		<item id="a" text="重新提交审批"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>loan/loanAction!gotoSubmitCheck.action?id=<s:property value='id' />&amp;proKey=loan","320","150");'/>
	</s:if>
	<s:else>
		<item id="a" text="重新提交审批"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>loan/loanAction!gotoSubmitCheck.action?id=<s:property value='id' />&amp;proKey=loan","320","150");' disable="false"/>
	</s:else>
	<s:if test="objctForm.state==1 && #session.user.roleName==objctForm.checkRole">
		<item id="a" text="同意"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>checkIdea/checkIdeaAction!gotoCheckIdea.action?checkIdeaForm.checkFolwId=<s:property value='id' />&amp;checkIdeaForm.classFlag=loan&amp;checkIdeaForm.check=true","500","400");'/>
		<item id="a" text="驳回"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>checkIdea/checkIdeaAction!gotoCheckIdea.action?checkIdeaForm.checkFolwId=<s:property value='id' />&amp;checkIdeaForm.classFlag=loan&amp;checkIdeaForm.check=false","500","400");'/>
	</s:if>
	<s:else>
		<item id="a" text="同意"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>checkIdea/checkIdeaAction!gotoCheckIdea.action?checkIdeaForm.checkFolwId=<s:property value='id' />&amp;checkIdeaForm.classFlag=loan&amp;checkIdeaForm.check=true","500","400");' disable="false"/>
		<item id="a" text="驳回"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>checkIdea/checkIdeaAction!gotoCheckIdea.action?checkIdeaForm.checkFolwId=<s:property value='id' />&amp;checkIdeaForm.classFlag=loan&amp;checkIdeaForm.check=false","500","400");' disable="false"/>
	</s:else>
	<s:if test="objctForm.state==100 || objctForm.state==-1 || objctForm.state==1">
		<item id="a" text="查看审批意见"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>checkIdea/checkIdeaAction!getByCheckFolwId.action?checkFolwId=<s:property value='id' />","800","500");'/>
	</s:if>
	<s:else>
		<item id="a" text="查看审批意见"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>checkIdea/checkIdeaAction!getByCheckFolwId.action?checkFolwId=<s:property value='id' />","800","500");' disable="false"/>
	</s:else>
</menu>
